package com.zzj.model.dto.schedule;

import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;

@Data
public class ScheduleBetweenDTO {
    @NotNull(message = "分页大小不能为空")
    private int pageSize;
    @NotNull(message = "页号不能为空")
    private int pageNo;
    @NotEmpty(message = "请输入开始时间")
    private String start;
    @NotEmpty(message = "请输入结束时间")
    private String end;

    @NotEmpty(message = "或 搜索参数")
    private String orParams;
    @NotEmpty(message = "并 筛选参数")
    private String  andParams;
    @NotEmpty(message = "排序参数")
    private  String orderParams;
}
